projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d836fa5
)
treeview: Fix row drag icon offsets
author
Timm Bäder
<mail@baedert.org>
Sun, 16 Jul 2017 07:37:17 +0000
(09:37 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:16 +0000
(21:27 -0400)
gtk/gtktreeview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktreeview.c
b/gtk/gtktreeview.c
index 5ea16185cdef4403ffbbaceb7b4bed0fa42251a2..1ac489b14b1ebf25d17566f925b4937a9a429b92 100644
(file)
--- a/
gtk/gtktreeview.c
+++ b/
gtk/gtktreeview.c
@@
-7576,8
+7576,8
@@
gtk_tree_view_drag_begin (GtkWidget *widget,
path);
cairo_surface_set_device_offset (row_pix,
/* the + 1 is for the black border in the icon */
-
- (tree_view->priv->press_start_x + 1)
,
-
- (cell_y + 1)
);
+
tree_view->priv->press_start_x + 1
,
+
1
);
gtk_drag_set_icon_surface (context, row_pix);